body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    /* background-color: #f8f8f8; */

    margin-bottom: 100px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #222;
}

div {
    box-sizing: border-box;
}

/* 设置整体文章容器的样式 */
article {
    width: 80%;
    margin: auto;
    /* border: 1px solid #ccc; */
    padding: 20px;

}

/* 设置标题框的样式 */

.bg {
    display: block;
    width: 100%;
    height: 280px;
}

.topBox {
    max-width: 540px;
    min-width: 320px;
    width: 100%;
    position: absolute;
    top: 10px;
    display: flex;
}

.topBox input {
    flex: 1;
    border: 0;
    border-radius: 5px;
    margin-left: 12px;
}

.topBox img {
    width: 27px;
    margin: 5px;
}

/* 设置课程列表项的样式 */
.ul_2 {
    list-style-type: none;
    padding: 0;
}

.ul_2 li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.ul_2 li:last-child {
    border-bottom: none;
}

.ul_2 li img {
    width: 120px;
    height: 120px;
    margin-right: 20px;
}

.R {
    flex-grow: 1;
}

.R .tit {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.R .sub {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.R .pri {
    font-size: 16px;
    color: #e60000;
    /* background-color: #007bff;
    border-radius: 15px;
    text-align: center; */
}

.R .pri a {
    color: #007bff;
    /* color: white; */
    text-decoration: none;
}

.R .pri a:hover {
    text-decoration: underline;
}


.headline {
    font-size: larger;
    font-style: italic;
    font-family: 楷体;

}

/*------------------------------------------------------------底部导航栏*/

footer {
    background-color: #fff;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    width: 100%;

}

.nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.nav-item {
    text-align: center;
    font-size: 14px;
    color: #333;
    flex: 1;
    cursor: pointer;
}

.nav-item.active {
    color: #ff4081;
}


footer a {
    text-decoration: none;
    font-size: 13px;
    color: black;
    padding: 0;
}

footer img {
    width: 35px;
    height: 35px;
}